<h1>Editing photo</h1>

<% form_for :photo, 
			:url => { :action => 'update', :id => @post },
			:html => { :multipart => true } do |form| %>
  <%= render :partial => 'form', :object => form %>
  <%= submit_tag 'Edit' %>
<% end %>

<%= link_to 'Show', :action => 'show', :id => @photo %> |
<%= link_to 'Back', :action => 'list' %>
